//不管Promise状态是fulfilled，还是rejected，都会执行finally语句
new Promise((resolve, reject) => {
  //   resolve("houdunren");
  reject("hdcms");
})
  .then((value) => {
    console.log(value);
  })
  .catch((reason) => {
    console.log(reason);
  })
  .finally(() => {
    console.log("肯定会执行");
  });
